package com.inossem.warehousestorage_inossem.bean.outStorage;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

import java.util.List;

/**
 * Created by leij on 2017/6/21.
 */

public class OutStorageRoleBean extends Bean {

    /**
     * head : {"error_code":"0","error_string":"Success","page_index":"1","page_size":"20","total":"-1"}
     * body : [{"role_id":"14","role_name":"库房主管"},{"role_id":"35","role_name":"领料人"},{"role_id":"36","role_name":"质量验收人"}]
     */

    private HeadBean head;
    private List<BodyBean> body;

    public HeadBean getHead() {
        return head;
    }

    public void setHead(HeadBean head) {
        this.head = head;
    }

    public List<BodyBean> getBody() {
        return body;
    }

    public void setBody(List<BodyBean> body) {
        this.body = body;
    }

    public static class HeadBean {
        /**
         * error_code : 0
         * error_string : Success
         * page_index : 1
         * page_size : 20
         * total : -1
         */

        private String error_code;
        private String error_string;
        private String page_index;
        private String page_size;
        private String total;

        public String getError_code() {
            return error_code;
        }

        public void setError_code(String error_code) {
            this.error_code = error_code;
        }

        public String getError_string() {
            return error_string;
        }

        public void setError_string(String error_string) {
            this.error_string = error_string;
        }

        public String getPage_index() {
            return page_index;
        }

        public void setPage_index(String page_index) {
            this.page_index = page_index;
        }

        public String getPage_size() {
            return page_size;
        }

        public void setPage_size(String page_size) {
            this.page_size = page_size;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }
    }

    public static class BodyBean {
        /**
         * role_id : 14
         * role_name : 库房主管
         */

        private String role_id;
        private String role_name;

        public String getRole_id() {
            return role_id;
        }

        public void setRole_id(String role_id) {
            this.role_id = role_id;
        }

        public String getRole_name() {
            return role_name;
        }

        public void setRole_name(String role_name) {
            this.role_name = role_name;
        }
    }
}
